package com.winchain.chainbill.bill.base.service.impl;

import com.shell.bee.persistence.service.impl.PersistentServiceImpl;
import com.shell.framework.utils.CommonDataUtil;
import com.winchain.chainbill.bill.base.dao.CbCertDao;
import com.winchain.chainbill.bill.base.po.CbCert;
import com.winchain.chainbill.bill.base.service.CbCertService;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("cbCertService")
public class CbCertServiceImpl extends PersistentServiceImpl<CbCert> implements CbCertService {
	@Autowired
	private CbCertDao cbCertDao;

	public List<CbCert> selectCertByBillIds(String[] billIds, String[] bizIds) {
		return this.cbCertDao.selectCertByBillIds(billIds, bizIds, CommonDataUtil.getCurEntId());
	}
}
